package com.hh.admin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hh.admin.entity.SysLoginLog;
import com.hh.admin.mapper.SysLoginLogMapper;
import com.hh.admin.service.ISysLoginLogService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hxn
 * @since 2018-02-09
 */
@Service
public class SysLoginLogServiceImpl extends ServiceImpl<SysLoginLogMapper, SysLoginLog> implements ISysLoginLogService {

	@Autowired
	SysLoginLogMapper sysLoginLogMapper;
	
	@Override
	public int deleteAMonthAgo() {
		// TODO Auto-generated method stub
		return sysLoginLogMapper.deleteAMonthAgo();
	}
	
}
